package com.icode.web.controller;

import com.icode.model.User;
import com.jfinal.core.Controller;

import java.util.List;

/**
 * User: alexz
 * Date: 14-11-7
 * Time: 下午4:42
 */
public class UsersController extends Controller {

    public void index() {
        List<User> users = User.USER.getUsers();
        setAttr("users", users);
        render("/WEB-INF/views/users.jsp");
    }
}
